/**
 * @Description 保存菜单路由，供全局使用
 * @Date 2023/5/21 周日 14:30
 * @Author 酷奇 <vx：17685112557>
 */
import { defineStore } from 'pinia'
import routes from '@/router/routes'
import { MenuRouterState } from '@/store/modules/types'

const useMenuRouterStore = defineStore('MenuRouter', {
  state: (): MenuRouterState => {
    return {
      menuRoutes: routes,
    }
  },
})

export default useMenuRouterStore
